package org.dzq.sca.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @ClassName: CommonResult
 * @Package: org.dzq.sca.entity
 * @author: 越
 * @date: 2021/12/7 22:47
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class CommonResult<T> {
    private Integer code;
    private String  message;
    private T data;

    public CommonResult(Integer code,String message){
        this(code,message,null);
    }
}
